package org.itzixi.service;

import org.itzixi.enums.YesOrNo;
import org.itzixi.pojo.FriendCircleLiked;
import org.itzixi.pojo.Friendship;
import org.itzixi.pojo.bo.FriendCircleBO;
import org.itzixi.pojo.vo.ContactsVO;
import org.itzixi.utils.PagedGridResult;

import java.util.List;


public interface FriendCircleService {
    /**
     * 发布朋友圈
     * @param friendCircleBO
     */
    public void publish(FriendCircleBO friendCircleBO);
    /**
     * 分页查询我的朋友圈列表
     * @param userId
     * @param page
     * @param pageSize
     * @return
     */
    public PagedGridResult queryList(String userId, Integer page, Integer pageSize);

    /**
     * 朋友圈点赞
     * @param friendCircleId
     * @param userId
     */
    public void like(String friendCircleId,String userId);

    /**
     * 朋友圈取消点赞
     * @param friendCircleId
     * @param userId
     */
    public void unlike(String friendCircleId,String userId);

    /**
     * 查询点赞好友列表
     * @param friendCircleId
     * @return
     */
    public List<FriendCircleLiked> queryLikedFriends(String friendCircleId);

    /**
     * 我是否点赞
     * @param friendCircleId
     * @param userId
     * @return
     */
    public boolean doILike(String friendCircleId,String userId);

    /**
     * 删除朋友圈
     * @param friendCircleId
     * @param userId
     */
    public void delete(String friendCircleId, String userId);
}
